home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FM Towns: Free Software Collection 9
/
FM Towns Free Software Collection 9.iso
/
t_os
/
tool
/
tetujin
/
src
/
igrfile.c
< prev
next >
Wrap
C/C++ Source or Header
|
1994-11-16
|
3KB
|
133 lines
#include <stdio.h>
#include <stdlib.h>
#include <winb.h>
#include <te.h>
#include <fntb.h>
#include <gui.h>
extern int fileSubDialogId ;
extern int fileBtnId[3] ;
extern int fileModeSet() ;
extern int fileMesId[3] ;
extern int fileCompModeSet() ;
#define ALIGN 4
#define OFFSET(type) (sizeof(MMIPACKET) + (sizeof(type)+ALIGN-1)/ALIGN*ALIGN)
/* MMI_init 用データ */
/* ヘッダ */
MMIINIT initDataIGRFILE = { "MmiInit", 7, 0 } ;
/* fileSubDialogId */
static MMIPACKET d001 = { &fileSubDialogId,
NULL,
&MJ_DIALOGL40,
OFFSET(DIALOGL40),
MS_NONE
} ;
static DIALOGL40 d001d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_FIXEDL40,
80, 258, 168, 339, 8,15, 8,
MS_NONEL40,
NULL, 0, 0
} ;
/* fileBtnId[0] */
static MMIPACKET d002 = { &fileBtnId[0],
&fileSubDialogId,
&MJ_TICONL40,
OFFSET(TICONL40),
MS_NONE
} ;
static TICONL40 d002d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_LEFTL40,
87, 265, 166, 281, 8,15, 8,
MS_NONEL40,
fileModeSet,
0x0000, 259, 260
} ;
/* fileBtnId[1] */
static MMIPACKET d003 = { &fileBtnId[1],
&fileSubDialogId,
&MJ_TICONL40,
OFFSET(TICONL40),
MS_NONE
} ;
static TICONL40 d003d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_LEFTL40,
87, 285, 166, 301, 8,15, 8,
MS_NONEL40,
fileModeSet,
0x0000, 259, 260
} ;
/* fileMesId[0] */
static MMIPACKET d004 = { &fileMesId[0],
&fileSubDialogId,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d004d = { MS_LEFTL40 | MS_DSPONLYL40,
107, 265, 162, 281, 0,15, 8,
MS_NONEL40,
"1677万色",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* fileMesId[1] */
static MMIPACKET d005 = { &fileMesId[1],
&fileSubDialogId,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d005d = { MS_LEFTL40 | MS_DSPONLYL40,
107, 285, 167, 301, 0,15, 8,
MS_NONEL40,
" 32768色",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* fileBtnId[2] */
static MMIPACKET d006 = { &fileBtnId[2],
&fileSubDialogId,
&MJ_TICONL40,
OFFSET(TICONL40),
MS_NONE
} ;
static TICONL40 d006d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_LEFTL40,
89, 316, 164, 332, 8,15, 8,
MS_NONEL40,
fileCompModeSet,
0x0000, 279, 280
} ;
/* fileMesId[2] */
static MMIPACKET d007 = { &fileMesId[2],
&fileSubDialogId,
&MJ_MSGL40,
0,
MS_NONE
} ;
static MSGL40 d007d = { MS_LEFTL40 | MS_DSPONLYL40,
117, 316, 157, 332, 0,15, 8,
MS_NONEL40,
"圧 縮",
1, 12, 12,
MS_NONEL40,
0, 0
} ;